<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<%@ page contentType="text/html;charset=utf-8"%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .d1{
            display: inline-block;
        }
        .d2{
            display: inline-block;
        }
    </style>
</head>
<body>
    <form method="post" action="${pageContext.request.contextPath}/external_add">
        <div class="d1">
           <p>
               <span>外来人员姓名</span>
               <input type="text" name="floName" required="required" />
               <span style="color: red">*</span>
           </p>
           <p>
               <span>性别</span>
               <input type="text" name="floGender"  required="required"/>
               <span style="color: red">*</span>
           </p>
           <p>
               <span> 年龄</span>
               <input type="text" name="floAge" required />
               <span style="color: red">*</span>
           </p>
           <p>
               <span> 户籍所在地</span>
               <input type="text" name="floArea" required>
               <span style="color: red">*</span>
           </p>

            <p>
                <span>户籍所在地明细</span>
                <input type="text" name="floDetail" required="required"/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>现住地址</span>
                <input type="date" name="floAddress" required/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>文化程度</span>
                <select name="floLevelEducationId" required>
                    <option value="1">学龄前</option>
                    <option value="2">文盲</option>
                    <option value="3">小学</option>
                    <option value="4">初中</option>
                    <option value="5">高中</option>
                    <option value="6">中专</option>
                    <option value="7">大专</option>
                    <option value="8">本科</option>
                    <option value="9">硕士</option>
                    <option value="10">博士</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>政治面貌</span>
                <select name="floPoliticalId" required>
                    <option value="1">中共党员</option>
                    <option value="2">共青团员</option>
                    <option value="3">民主党派</option>
                    <option value="4">群众</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>联系电话</span>
                <input type="text" name="floPhone" required/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>婚姻状况</span>
                <select name="floMarriageId" required>
                    <option value="1">已婚</option>
                    <option value="2">未婚</option>
                    <option value="3">离婚</option>
                    <option value="4">再婚</option>
                    <option value="5">丧偶</option>
                    <option value="6">未达法定年龄</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>所在企业</span>
                <input type="text" name="floEnterprise" required/>
                <span style="color: red">*</span>
            </p>
        </div>
        <div>
            <button type="submit">增加</button>
        </div>
    </form>
</body>
</html>
